export default {
    namespaced: true,
    state:{
        categoryList : [],
        dataList : [],
        dataStr : '',
        tags : '',
    },
    mutations:{
        updateCategoryList(state,data){
            state.categoryList = data;
        },
        updateDataList(state,data,str){
            state.dataList = data;
            state.dataStr = str;
        },
        updateTags(state,data){
            state.tags = data;
        },
    }
}